<?php

	$val['id']			= $this->review->id;
	$val['review']		= $this->review->review;
	$val['status']		= $this->review->status;
	
?>
<form action="/adminarea/editreview" method="post" enctype="multipart/form-data">
	<input type="hidden" name="id" value="<?php  if (isset($val['id'])) echo $val['id'];?>" />
	<input type="hidden" name="id_restaurant" value="<?php  if (isset($this->id_restaurant)) echo $this->id_restaurant ;?>" />
	<input type="hidden" id="status" name="status" value="<?php  if (isset($val['status'])) echo $val['status'];?>" />

	<div class="hdr">Review</div>
		<div class="cleft">
<p>
			<div>
				<em class="required">*</em>
				<label for="review">review</label>
				<textarea name="review" id="review" cols="40" rows="10"><?php  if (isset($val['review'])) echo $val['review'];?></textarea>
			</div>
			<?php if(isset($this->aError['review'])) { foreach($this->aError['review'] as $ErrName => $ErrDescr) { ?>
				<div class="error_msg"><?php echo $ErrDescr; ?></div>
			<?php } } ?>

</p>
<p>
			<input class="sexybutton sexysimple sexymagenta" type="submit" value="Save" id="save" /></input>
			<input class="sexybutton sexysimple sexymagenta" type="button" value="Accept" id="accept" /></input>
			<input class="sexybutton sexysimple sexymagenta" type="button" value="Reject" id="reject" /></input>
</p>
		</div>
</form>